package exercise;

import java.util.Scanner;

public class EX04_Q34 {
	
	

	public static void main(String[] args) {
		
		TempVO tvo = new TempVO();
		Scanner sc = new Scanner(System.in);
		System.out.print("화씨 입력 : ");
		tvo.setF(sc.nextFloat());
		System.out.println(TempService.changeTemp(tvo.getF()));
	}

}

class TempVO {
	private float f;

	public TempVO() {
	}
	public TempVO(float f) {
		this.f = f;
	}
	
	public void setF(float f) {
		this.f = f;
	}
	public float getF() {
		return this.f;
	}
}

class TempService {
	public static float changeTemp(float f) {
		return (100F/180)*(f-32);
	}
}